﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using Vacation.Models;
using Vacation.DAL;

namespace Vacation.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewBag.Message = "欢迎使用《职业养成与职业发展》成绩管理系统";
            return View();
        }
        public ActionResult SaveUser([ModelBinder(typeof(JsonBinder<ScoreModel>))]ScoreModel data)
        {
            return Json(data, JsonRequestBehavior.AllowGet);
        }
    }
   
}
